package com.lqd.demo.springboot;

import java.util.Map;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

//将返回页面
@Controller
public class ThymeleafController {

	@RequestMapping("index")
	public String indexHtml(Map<String,Object> map)
	{
		map.put("hello", "zhangsan");
		return "/NewFile";
	}
}
